package com.smartsystem.modules.system.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户查询DTO
 */
@Data
@Schema(description = "用户查询条件")
public class SysUserQueryDTO {

    @Schema(description = "用户名（模糊查询）")
    private String username;

    @Schema(description = "真实姓名（模糊查询）")
    private String realName;

    @Schema(description = "手机号（模糊查询）")
    private String phone;

    @Schema(description = "邮箱（模糊查询）")
    private String email;

    @Schema(description = "状态(0-禁用,1-启用)")
    private Integer status;

    @Schema(description = "部门")
    private String department;

    @Schema(description = "当前页码", example = "1")
    private Integer current = 1;

    @Schema(description = "每页大小", example = "10")
    private Integer size = 10;
}